package com.cdxy.model.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: tangy
 * @Date: 2020/3/22 19:15
 */
@Data
@ApiModel
public class HomeIndexSceneReq implements Serializable {

    private static final long serialVersionUID = -1782646420676511595L;

    @ApiModelProperty(value = "不用传")
    private Integer axUid;

    @ApiModelProperty(value = "景点", required = true, example = "北京")
    @NotBlank(message = "城市不能为空")
    private String city;

    @ApiModelProperty(value = "景点个数")
    private Integer sceneNum = 6;
}
